package cn.sytton.taffecloud.service.system.entity;

import cn.sytton.taffecloud.common.model.base.FieldEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 角色用户entity sys_role_user
 *
 * @author skyrock
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleUserEntity extends FieldEntity {

    private String roleId;    // 角色ID
    private String userId;    // 用户ID

    //-----以下是关联属性-----
    private List<String> userIds; //用户ID集合
}
